

/****rem****/
(function(doc, win) {
    var docEl = doc.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange': 'resize',
        recalc = function() {
            var clientWidth = docEl.clientWidth;
            if (!clientWidth) return;

            if (clientWidth < 750) {
                docEl.style.fontSize = 20 * (clientWidth / 750) + 'px';
            }
        };

    if (!doc.addEventListener) return;
    win.addEventListener(resizeEvt, recalc, false);
    doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
/****rem****/
//URL地址设置
window.webURL = 'http://huafu.unohacha.com/Api/';

window.hurl = {
  // ------------店铺模块-------------
  //关注
  store_collect:window.webURL+'Collect/store_collect',
  //店铺列表（含搜索功能）
  store_list:window.webURL+'Store/store_list',
  //店铺详情
  store_info:window.webURL+'Store/store_info',
  //店铺搜索历史记录
  store_search_log:window.webURL+'Store/store_search_log',
  //清空店铺搜索历史记录
  del_store_search_log:window.webURL+'Store/del_store_search_log',
  //店铺首页
  store_index:window.webURL+'Store/store_index',
  //店铺商品分类
  store_goods_cate_tree:window.webURL+'Store/store_goods_cate_tree',
  celebrity:window.webURL+'index/celebrity',
  //名人文化详情
	celebrityinner:window.webURL+'index/celebrityinner',
	//公司详情:Api/index/companyinner
	companyinner:window.webURL+'index/companyinner',
  //历史
  sousuo:window.webURL+'index/historysousuo',
  //热搜
  redsousuo:window.webURL+'index/redsousuo',
  //热门推荐大图：Api/Index/hotgoods
  hotgoods:window.webURL+'Index/hotgoods',
  //商家入驻图片Api/index/shop
  shopimg:window.webURL+'index/shop',
  //商品列表（含搜索功能）：Goods/goods_list
  goodsList:window.webURL+'Goods/goods_list',
  //最新上架导航列表（含搜索）：Api/index/index_goods_list_new
  list_new:window.webURL+'index/index_goods_list_new',
  //热门推荐导航列表（含搜索）：Api/index/index_goods_list_hots
  list_hots:window.webURL+'index/index_goods_list_hots',
}
